package com.sunsys;

import java.sql.Connection;
import java.sql.DriverManager;

public class DBConnection {
	
	public Connection makeDBConnection() {
		Connection con = null;
		try {
			Class.forName("com.mysql.jdbc.Driver");
			con = DriverManager.getConnection("jdbc:mysql://localhost/Employee", "root","swamiswami");
				
		}
		catch(Exception e) {
			e.printStackTrace();
		}
		return con;
	}

}
